<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>城市生活模拟器</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            background: #f5f5f5;
            height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* 顶部状态栏 */
        .status-bar {
            background: #ffffff;
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #ddd;
        }

        /* 游戏场景 */
        .game-scene {
            flex: 1;
            background: url('https://placeholder.com/restaurant-bg.jpg') center/cover;
            position: relative;
        }

        /* NPC角色 */
        .npc {
            position: absolute;
            width: 48px;
            height: 48px;
            background: #fff;
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .waiter {
            left: 30%;
            top: 40%;
        }

        .chef {
            right: 20%;
            top: 30%;
        }

        /* 对话框 */
        .dialog-box {
            position: fixed;
            bottom: 60px;
            left: 0;
            right: 0;
            background: rgba(255,255,255,0.95);
            padding: 15px;
            border-radius: 20px 20px 0 0;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        }

        .dialog-content {
            margin-bottom: 15px;
        }

        .dialog-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .dialog-option {
            padding: 10px;
            background: #007AFF;
            color: white;
            border-radius: 8px;
            text-align: center;
        }

        /* 底部导航栏 */
        .tab-bar {
            height: 50px;
            background: #ffffff;
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid #eee;
        }

        .tab-item {
            flex: 1;
            text-align: center;
            color: #666;
            font-size: 12px;
            padding: 5px;
        }

        .tab-item.active {
            color: #007AFF;
        }

        /* 菜单界面 */
        .menu-panel {
            position: fixed;
            right: -280px;
            top: 0;
            bottom: 0;
            width: 280px;
            background: white;
            transition: right 0.3s;
            box-shadow: -2px 0 10px rgba(0,0,0,0.1);
            padding: 20px;
        }

        .menu-panel.active {
            right: 0;
        }

        .menu-item {
            padding: 15px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
    </style>
</head>
<body>
    <!-- 顶部状态栏 -->
    <div class="status-bar">
        <div class="user-info">
            <div class="avatar"></div>
            <span>Player Name</span>
        </div>
        <div class="game-stats">
            <span>💰 1000</span>
        </div>
    </div>

    <!-- 游戏场景 -->
    <div class="game-scene">
        <div class="npc waiter">👨‍🍳</div>
        <div class="npc chef">👩‍🍳</div>
    </div>

    <!-- 对话框 -->
    <div class="dialog-box">
        <div class="dialog-content">
            Welcome to Barcelona Restaurant! How may I help you today?
        </div>
        <div class="dialog-options">
            <div class="dialog-option">I'd like to see the menu, please.</div>
            <div class="dialog-option">What's today's special?</div>
            <div class="dialog-option">Tell me about Spanish cuisine.</div>
        </div>
    </div>

    <!-- 菜单面板 -->
    <div class="menu-panel">
        <h3>Menu</h3>
        <div class="menu-item">
            <span>Paella</span>
            <span>$25</span>
        </div>
        <div class="menu-item">
            <span>Tapas</span>
            <span>$15</span>
        </div>
        <div class="menu-item">
            <span>Sangria</span>
            <span>$8</span>
        </div>
    </div>

    <!-- 底部导航栏 -->
    <div class="tab-bar">
        <div class="tab-item active">场景</div>
        <div class="tab-item">背包</div>
        <div class="tab-item">任务</div>
        <div class="tab-item">设置</div>
    </div>
</body>
</html>